package com.tudouji.project.copy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 交易设置对象 multipart_config
 * 
 * @author wf
 * @date 2021-01-07
 */
public class MultipartConfig
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private Integer sellpaytype;

    /** 内部结算参数 */
    @Excel(name = "内部结算参数")
    private Integer multipartFlag;

    /** 内部结算组织 */
    @Excel(name = "内部结算组织")
    private String multipartOrgguid;

    private String createby;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    private String orgname;

    /** 金蝶付款放式 */
    @Excel(name = "金蝶付款放式")
    private String kdsellpaytype;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSellpaytype(Integer sellpaytype) 
    {
        this.sellpaytype = sellpaytype;
    }

    public Integer getSellpaytype() 
    {
        return sellpaytype;
    }
    public void setMultipartFlag(Integer multipartFlag) 
    {
        this.multipartFlag = multipartFlag;
    }

    public Integer getMultipartFlag() 
    {
        return multipartFlag;
    }
    public void setMultipartOrgguid(String multipartOrgguid) 
    {
        this.multipartOrgguid = multipartOrgguid;
    }

    public String getMultipartOrgguid() 
    {
        return multipartOrgguid;
    }

    public String getCreateby() {
        return createby;
    }

    public void setCreateby(String createby) {
        this.createby = createby;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getOrgname() {
        return orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public String getKdsellpaytype() {
        return kdsellpaytype;
    }

    public void setKdsellpaytype(String kdsellpaytype) {
        this.kdsellpaytype = kdsellpaytype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sellpaytype", getSellpaytype())
            .append("multipartFlag", getMultipartFlag())
            .append("multipartOrgguid", getMultipartOrgguid())
            .append("createby", getCreateby())
            .append("createtime", getCreatetime())
            .toString();
    }
}
